<?php
if (!class_exists("go_sql")){
	include("/var/www/html/new/conf/le.je");
	$le=new go_sql();
	$le->connect();
}

$aids = $_REQUEST['aids'];
$sign = $_REQUEST['sign'];
// echo $aids;

if(!$_REQUEST['aids']) exit('{"msg":"请传参","code":"101"}');

$check = md5($aids.'PFT12301');
if($sign != $check) exit('{"msg":"加密不通过","code":"101"}');

$aidss = explode(',',$aids);
$aid2s = $aidss[1];

$select_uuid = "select account,dname from pft_member where id=".$aid2s." limit 1";
$GLOBALS['le']->query($select_uuid);
$row = $GLOBALS['le']->fetch_assoc();
$account = $row['account'];  //查询商品编码id
$dname = $row['dname'];  //查询商品编码id

echo '{"msg":"","code":"0","account":"'.$account.'","dname":"'.$dname.'"}';

?>